<?php
/**
 * Created by PhpStorm.
 * User: zhangrongxiang
 * Date: 2017/3/22
 * Time: 上午11:42
 */

$time = strtotime("2010-09-08 07:06:05");
$time = strtotime('2017-03-22 11:44:06');
echo date("Y-m-d H:i:s",$time);
echo $time;
echo '<hr>';
echo date("Y-m-d H:i:s",1490154655);